import request from '@/utils/request'


//新增 用户协议
export function addAgreement(data) {
    return request({
      url: '/customer/agreement',
      method: 'post',
      data
    })
}

//获取公告信息详情
export function getAgreement(type) {
    return request({
        url: `/customer/agreement/detail/${type}`,
        method: 'get',
    })
}





